#ifndef EWINDOW_H
#define EWINDOW_H

#include <FL/Fl.H>
#include <FL/Fl_Menu_Bar.h>
#include <FL/Fl_ask.h>

#include <sptk3/CWindow.h>
#include <sptk3/CTabs.h>
#include <sptk3/CToolBar.h>

#include <Vector>

#include "EPages.h"
#include "EProperties.h"
#include "EToolBar.h"
#include "EBoard.h"

class EPages;
class EBoard;
class EToolBar;
class EProperties;
class Ewindow : public CWindow
{
    public:
        Ewindow(int w,int h);
        virtual ~Ewindow();
        void ekleBoard(EBoard *p);
        void kaldirBoard();
        void aktifEt(int index);
        EToolBar * toolGonder();
        std::string yazdir();
        EProperties *propenceregonder();
        void propertiesTimer(eContainer *p);
        eContainer *aktif;
    protected:
    private:
        Fl_Menu_Bar *menu;
        EPages *list;
        EProperties *propencere;
        EToolBar *tool;
        EBoard *aktifBoard;
        std::vector<EBoard *> boardTut;
};

#endif // EWINDOW_H
